package com.ruoyi.yljf.domain.vo;

import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.yljf.domain.Book;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActiveBookVO {

    private Integer id;

    private String bookName;

    private String bookImg;

    public ActiveBookVO(Book book) {
        BeanUtils.copyProperties(book, this);
    }

}
